/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.workItem.dto;


import com.fuyao.cloud.common.data.mybatis.SearchCondition;
import com.fuyao.cloud.common.data.mybatis.SearchOp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 盘点任务清单表
 *
 * @author lyhills
 * @date 2023-09-11 12:01:55
 */
@Data
public class WorkItemAssetSearchDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @SearchCondition
    @ApiModelProperty(value = "状态：0：待盘点，1：存在，2：不存在，3：盘盈")
    private Integer status;

    @SearchCondition
    @ApiModelProperty(value = "资产ID")
    private Long assetId;

    @SearchCondition
    @ApiModelProperty(value = "清单ID")
    private Long sourceId;

    @SearchCondition
    @ApiModelProperty(value = "事项ID")
    private Long id;

    @SearchCondition
    @ApiModelProperty(value = "事项父级ID")
    private Long parentId;

    @SearchCondition
    @ApiModelProperty(value = "盘点说明")
    private String description;

    @SearchCondition
    // 资产信息
    private Integer assetStatus;

    @SearchCondition(op = SearchOp.LIKE)
    private String name;

    @SearchCondition(op = SearchOp.LIKE)
    private String number;

    @SearchCondition(op = SearchOp.LIKE)
    private String ctiName;

    @SearchCondition(op = SearchOp.LIKE)
    private String model;

    @SearchCondition(op = SearchOp.LIKE)
    private String unit;

    @SearchCondition
    private BigDecimal amount;

    @SearchCondition(op = SearchOp.LIKE)
    private String useName;

    @SearchCondition()
    private String usedeptId;

    @SearchCondition(op = SearchOp.LIKE)
    private String location;

}
